package com.ccnf.service;

import com.baomidou.mybatisplus.service.IService;
import com.ccnf.model.entity.InvitationBrowse;
import com.ccnf.model.entity.InvitationForward;
import com.ccnf.model.entity.InvitationUser;

public interface InvitationUserService extends IService<InvitationUser> {

    /**
     * 录入邀请函分享前，生成分享ID
     * @param invitationUser 邀请函用户
     * @return 返回分享ID
     */
    Long findInvitationUserShareId(InvitationUser invitationUser);

    /**
     * 录入用户转发邀请函
     * @param invitationForward
     */
    void saveUserForwardInvitation(InvitationForward invitationForward);

    /**
     * 录入邀请函浏览数据
     * @param invitationBrowse 用户邀请函浏览数据
     */
    void saveInvitationBrowse(InvitationBrowse invitationBrowse);
}